package com.onetime.mall.trading.dao;

import com.onetime.mall.trading.entity.IdleItemEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 二手商品表
 *
 * @author liyixuan
 * @email liyixuan106@163.com
 * @date 2022-03-26 19:38:29
 */
@Mapper
public interface IdleItemDao extends BaseMapper<IdleItemEntity> {
    @MapKey("id")
    List<Map<String, String>> statistics(@Param("status")Integer status);
}
